package com.pxl.bi.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pxl.bi.model.dto.chart.ChartQueryRequest;
import com.pxl.bi.model.entity.Chart;

/**
* @author 彭显良
* @description 针对表【chart(图表信息表)】的数据库操作Service
* @createDate 2024-03-11 20:53:45
*/
public interface ChartService extends IService<Chart> {

    void validChart(Chart chart, boolean b);

    boolean addChartData(Chart chart);

    Page<Chart> listChartByPage(ChartQueryRequest chartQueryRequest);

    String getChartDataById(long chartId);

    void handleChartUpdateError(long chartId, String execMessage);
}
